/**
 * 
 */
package com.mywind.dao.windfarm;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.mywind.entity.windfarm.DiagnoseEntity;

/**
 * @author a01513
 *
 */
public interface DiagnoseDao {
	
	public void insertRecord(DiagnoseEntity diagnoseEntity);
	public DiagnoseEntity queryRecord(@Param("fcode") String fcode,@Param("wcode") int wcode,@Param("trigkey") String trigkey,@Param("times") Date times, @Param("msecond") int msecond);
	public void deleteRecordByFWcode(@Param("fcode") String fcode,@Param("wcode") int wcode);
	public List<DiagnoseEntity> findRecordByFTD(@Param("fcode") String fcode,@Param("wcode") int wcode,@Param("start") String start,@Param("end") String end);
}
